package com.hc.model.code04.test5.after;

/**
 * @version v1.0
 * @ClassName: Client
 * @Description: 状态模式测试类
 * @Author: HC
 */
public class Client {

    public static void main(String[] args) {
        Context context = new Context();
        context.setLiftState(new OpenState());

        context.open();
        context.close();
        context.run();
        context.stop();
    }
}
